package com.own.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author anonymous
 * @since 2024-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_orders")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 商品id
     */
    private Integer providerId;

    /**
     * 商品名称
     */
    private String providerName;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 商品图片
     */
    private String providerIcon;

    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户手机号
     */
    private String userPhone;

    /**
     * 用户收货地址
     */
    private String userAddress;

    /**
     * 商品数量
     */
    private Integer orderCount;
    /**
     * 总金额
     */
    private Double orderTotal;
    /**
     * 订单状态
     */
    private Integer orderStatus;
}
